<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');

        body {
            font-family: 'Roboto Slab', serif;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            color: #333;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .container {
            max-width: 600px;
            padding: 50px;
            background-color: rgba(255, 255, 255, 0.9);
            text-align: center;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .title {
            font-size: {{titleFontSize}}px;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            color: #333;
            text-align: center;
        }

        .subtitle {
            font-size: {{subtitleFontSize}}px;
            font-weight: 400;
            margin-bottom: 20px;
            color: #333;
            text-align: center;
        }

        .message-content {
            font-size: {{messageContentFontSize}}px;
            line-height: 1.5;
            white-space: pre-wrap;
            color: #333;
            text-align: center;
        }

        body {
            background-image: url('{{imageUrl}}');
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="title">{{title}}</div>
        {{subtitle}}
        <div class="message-content">{{msgContent}}</div>
    </div>
</body>

</html>